updating oE free_code

free_code

include std/machine.e 
public procedure free_code( atom addr, integer size, valid_wordsize wordsize = 1 ) 

frees up allocated code memory.

Parameters:
  1. addr : must be an address returned by allocate_code or allocate_protect. Do not pass memory returned from allocate here!
  2. size : is the length of the sequence passed to alllocate_code or the size you specified when you called allocate_protect.
  3. wordsize: valid_wordsize default = 1
Comments:

Chances are you will not need to call this function because code allocations are typically public scope operations that you want to have available until your process exits.

See Also: Executable Memory, allocate_code, free

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu